package Charpter04;
//继承  子类继承父类

//定义父类
class father
{
    private int age ;
    private String belike;
    public void dothings(){}
    public void dothings(String dothing)
    {
        System.out.println("我喜欢打游戏");
    }
    public void eat(){}
    public void eat(String s)
    {
        System.out.println("fish");
    }
}
class Son extends father
{
    private int age ;
    private String belike ;
  // public Son(String s)
   {
     //  super(s);
   }
}
public class Extends01 {
}
